//
//  runTimeToViewController.m
//  IOSDome
//
//  Created by clobe on 2019/4/15.
//  Copyright © 2019 clobe. All rights reserved.
//

#import "runTimeToViewController.h"

@interface runTimeToViewController ()

@end

@implementation runTimeToViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor redColor];
    
    UIButton *button1 = [[UIButton alloc] initWithFrame:CGRectMake(SCREEN_WIDTH/2, SCREEN_HEIGHT/2,100,50)];
    [button1 setTitle:@"返回" forState:UIControlStateNormal];
    [button1 addTarget:self action:@selector(btnAction) forControlEvents:UIControlEventTouchUpInside];
    button1.backgroundColor = [UIColor lightGrayColor];
    [self.view addSubview:button1];
}


-(void)btnAction{
     [self.navigationController popViewControllerAnimated:YES];
}

@end
